home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 426-450 / disk_429 / v / v.readme < prev    next >
Text File  |  1992-05-06  |  4KB  |  70 lines

  1.  
  2.                                       V    (release 3)
  3.  
  4. What this is is a front end for commodore's More, or possibly for some other
  5. text-file-viewer program that can be made resident.  I prefer More over other
  6. text viewing programs like MuchMore because it is small and quick and has
  7. every feature I really need.  V's original purpose was to make More create
  8. its own window when run from the CLI, instead of using the CLI's window.  Its
  9. more useful purpose nowadays is to avoid loading More or a similar program
  10. from disk when used from Workbench.  This newest version also allows you to
  11. specify what window More will show the text in.
  12.  
  13. To use V you should make More resident, with (naturally) the Resident
  14. command.  If V cannot find More on the resident list, it will attempt to load
  15. C:More, and failing that, SYS:Utilities/More.  V then opens a window, and
  16. runs More as part of its own process like the CLI would, passing to it the
  17. args given to V, translating any Workbench argument into command line form. 
  18. The reason it runs More as a CLI process is that More's E command, which
  19. sends the file to the editor specified in the environment variable called
  20. EDITOR, is deactivated when More is a Workbench process.
  21.  
  22. Thus if your Workbench icon specifies C:V as its default tool, or if you
  23. click on the V icon and shift-double-click the text file's icon, it will show
  24. the file with More (or some other program that you have named "More" on the
  25. resident list so that V can find it) without loading More from disk.  It only
  26. has to load V, and V is only 1280 bytes long since I translated it into
  27. assembly.  What I do personally is put copies of V in all sorts of places
  28. that various text icons expect to find viewers, such as SYS:Utilities/More,
  29. :C/Less, C:MuchMore, etc ... all just copies of V.  Note that V itself can
  30. also be made resident, so that AmigaShell does not need to load either V or
  31. More from disk.  You need not be using AmigaShell for V to work, though; its
  32. ability to use the resident copy of More is self-contained.  V can also
  33. accept input from a pipe.
  34.  
  35. There is one small bug in More.  When you start it up with no argument, it
  36. asks you to enter a filename.  After you do this and it shows the beginning
  37. of the file, it makes the E command available, but it doesn't work if you try
  38. it.  If you press E it executes a command consisting of several sequential
  39. copies of the contents of ENV:EDITOR.  V puts a message in the window under
  40. these conditions reminding you not to use the E command.  V runs More as a
  41. CLI process even when V is a Workbench process, because More does not make
  42. the E command available when running under Workbench.
  43.  
  44. Since More is being run from a CLI as far as it can tell, it will use a
  45. window provided for it instead of opening its own.  You can tell V what
  46. window to open for More in ENV:MOREWINDOW.  If none is specified, the default
  47. is "CON:0/0/640/200/More".  You can tell it to use a larger window with, for
  48. instance, commands like
  49.  
  50.         setenv morewindow CON:0/0/640/256/More
  51.    or   echo > env:morewindow CON:0/0/640/400/More
  52.  
  53. or if you have ConMan installed, you can take advantage of ConMan's special
  54. features, such as the ability to open a window on the topmost screen instead
  55. of the workbench screen (with "CON:S*/0/0/640/200/More" for instance -- note
  56. that if you put quotes around the con: specification in a setenv command, you
  57. have to use S**/ to mean S*/, otherwise the * is lost), or to open a window
  58. to fit whatever the size of the screen is ("CON:////More") or open a
  59. borderless window with no size gadget, so that you can read 80 columns of
  60. text ("CON:0/0/640/200/More/NS").  I used to use such a window myself, but
  61. now I have set my Workbench screen to be 664 pixels wide (and 220 tall), and
  62. 80 columns of text fit into a normal resizable window of that width.  The
  63. window I now use is "CON:S*//1//215/ More ", which with ConMan creates a
  64. window on the frontmost screen as wide as will fit.
  65.  
  66. I prefer to use More because of its simplicity and quickness, rather than
  67. fancier (larger, slower) programs like MuchMore.  V is by Paul Kienitz and is
  68. in the public domain.
  69.  
  70.